<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta name="Content-Type" content="text/html; charset=UTF-8" />
<title>Class: Sass::Tree::PropNode</title>
<link rel="stylesheet" href="style.css" tppabs="http://sass-lang.com/docs/yardoc/css/style.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="common.css" tppabs="http://sass-lang.com/docs/yardoc/css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '../..';
  if (relpath != '') relpath += '/';
</script>
<script type="text/javascript" charset="utf-8" src="jquery.js" tppabs="http://sass-lang.com/docs/yardoc/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="app.js" tppabs="http://sass-lang.com/docs/yardoc/js/app.js"></script>

  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="_index.html" tppabs="http://sass-lang.com/docs/yardoc/_index.html">Index (P)</a> &raquo; 
    <span class='title'><a href="Sass-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass.html" title="Sass (module)">Sass</a></span> &raquo; <span class='title'><a href="Tree.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree.html" title="Sass::Tree (module)">Tree</a></span>
     &raquo; 
    <span class="title">PropNode</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="javascript:if(confirm(%27http://sass-lang.com/docs/yardoc/Sass/Tree/.  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?%27))window.location=%27http://sass-lang.com/docs/yardoc/Sass/Tree/.%27" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  <a id="class_list_link" href="#">Class List</a>
  <a id="method_list_link" href="#">Method List</a>
  <a id ="file_list_link" href="#">File List</a>
</div>

      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Class: Sass::Tree::PropNode 
  
  
</h1>

<dl class="box">
  
    <dt class="r1">Inherits:</dt>
    <dd class="r1">
      <span class="inheritName"><a href="Node.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html" title="Sass::Tree::Node (class)">Node</a></span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next"><a href="Node.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html" title="Sass::Tree::Node (class)">Node</a></li>
          
            <li class="next">Sass::Tree::PropNode</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
      </dd>
    
  
  
    
  
    
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb</dd>
  
</dl>
<div class="clear"></div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    <p>A static node reprenting a CSS property.</p>

  </div>
</div>
<div class="tags">
  
  <h3>See Also:</h3>
  <ul class="see">
    
      <li><a href="Tree.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree.html" title="Sass::Tree (module)">Sass::Tree</a></li>
    
  </ul>

</div>

  
  
  
  
  
  <h2>Instance Attribute Summary</h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#name-instance_method" title="#name (instance method)">- (Array&lt;String, Sass::Script::Node&gt;) <strong>name</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The name of the property, interspersed with <tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>s representing <code>#{}</code>-interpolation.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#resolved_name-instance_method" title="#resolved_name (instance method)">- (String) <strong>resolved_name</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The name of the property after any interpolated SassScript has been resolved.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#resolved_value-instance_method" title="#resolved_value (instance method)">- (String) <strong>resolved_value</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The value of the property after any interpolated SassScript has been resolved.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#tabs-instance_method" title="#tabs (instance method)">- (Fixnum) <strong>tabs</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">How deep this property is indented relative to a normal property.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#value-instance_method" title="#value (instance method)">- (Sass::Script::Node) <strong>value</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The value of the property.</span>
  
</li>

    
  </ul>


  <h2>Instance Method Summary</h2>

  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#%3D%3D-instance_method" title="#== (instance method)">- (Boolean) <strong>=</strong>(other) </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Compares the names and values of two properties.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#declaration-instance_method" title="#declaration (instance method)">- <strong>declaration</strong>(opts = {:old =&gt; @prop_syntax == :old}, fmt = :sass) </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Computes the Sass or SCSS code for the variable declaration.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#initialize-instance_method" title="#initialize (instance method)">- (PropNode) <strong>initialize</strong>(name, value, prop_syntax) </a>
    

    
  </span>
  
    <span class="note title constructor">constructor</span>
  
  
  
  
  

  
    <span class="summary_desc">A new instance of PropNode.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#invisible%3F-instance_method" title="#invisible? (instance method)">- (Boolean) <strong>invisible?</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">A property node is invisible if its value is empty.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#pseudo_class_selector_message-instance_method" title="#pseudo_class_selector_message (instance method)">- (String) <strong>pseudo_class_selector_message</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Returns a appropriate message indicating how to escape pseudo-class selectors.</span>
  
</li>

    
  </ul>

  
  
  
  
  
  <h3 class="inherited">Methods inherited from <a href="Node.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html" title="Sass::Tree::Node (class)">Node</a></h3>
  <p class="inherited"><a href="Node.html#%3C%3C-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#%3C%3C-instance_method" title="Sass::Tree::Node#<< (method)">#<<</a>, <a href="Node.html#balance-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#balance-instance_method" title="Sass::Tree::Node#balance (method)">#balance</a>, <a href="Node.html#bubbles%3F-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#bubbles%3F-instance_method" title="Sass::Tree::Node#bubbles? (method)">#bubbles?</a>, <a href="Node.html#deep_copy-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#deep_copy-instance_method" title="Sass::Tree::Node#deep_copy (method)">#deep_copy</a>, <a href="Node.html#each-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#each-instance_method" title="Sass::Tree::Node#each (method)">#each</a>, <a href="Node.html#inspect-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#inspect-instance_method" title="Sass::Tree::Node#inspect (method)">#inspect</a>, <a href="Node.html#style-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#style-instance_method" title="Sass::Tree::Node#style (method)">#style</a>, <a href="Node.html#to_s-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_s-instance_method" title="Sass::Tree::Node#to_s (method)">#to_s</a>, <a href="Node.html#to_sass-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_sass-instance_method" title="Sass::Tree::Node#to_sass (method)">#to_sass</a>, <a href="Node.html#to_scss-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_scss-instance_method" title="Sass::Tree::Node#to_scss (method)">#to_scss</a></p>

  <div id="constructor_details" class="method_details_list">
  <h2>Constructor Details</h2>
  
    <div class="method_details first">
  <p class="signature first" id="initialize-instance_method">
  
    - (<tt><a href="" title="Sass::Tree::PropNode (class)">PropNode</a></tt>) <strong>initialize</strong>(name, value, prop_syntax) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>A new instance of PropNode</p>

  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='type'>(<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>)</span>
      
      
        <span class='name'>name</span>
      
      
      
        &mdash;
        See <tt><a href="#name-instance_method" title="Sass::Tree::PropNode#name (method)">#name</a></tt>
      
    </li>
  
    <li>
      
        <span class='type'>(<tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>)</span>
      
      
        <span class='name'>value</span>
      
      
      
        &mdash;
        See <tt><a href="#value-instance_method" title="Sass::Tree::PropNode#value (method)">#value</a></tt>
      
    </li>
  
    <li>
      
        <span class='type'>(<tt>Symbol</tt>)</span>
      
      
        <span class='name'>prop_syntax</span>
      
      
      
        &mdash;
        <code>:new</code> if this property uses <code>a: b</code>-style syntax, <code>:old</code> if it uses <code>:a b</code>-style syntax
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


49
50
51
52
53
54
55
56</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 49</span>

def initialize(name, value, prop_syntax)
  @name = Sass::Util.strip_string_array(
    Sass::Util.merge_adjacent_strings(name))
  @value = value
  @tabs = 0
  @prop_syntax = prop_syntax
  super()
end</pre>
    </td>
  </tr>
</table>
</div>
  
</div>

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id="name=-instance_method"></span>
      <span id="name-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="name-instance_method">
  
    - (<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>) <strong>name</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The name of the property, interspersed with <tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>s representing <code>#{}</code>-interpolation. Any adjacent strings will be merged together.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


12
13
14</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 12</span>

def name
  @name
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="resolved_name=-instance_method"></span>
      <span id="resolved_name-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="resolved_name-instance_method">
  
    - (<tt>String</tt>) <strong>resolved_name</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The name of the property after any interpolated SassScript has been resolved. Only set once <tt><a href="Perform.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Visitors/Perform.html" title="Sass::Tree::Visitors::Perform (class)">Tree::Visitors::Perform</a></tt> has been run.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>String</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


19
20
21</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 19</span>

def resolved_name
  @resolved_name
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="resolved_value=-instance_method"></span>
      <span id="resolved_value-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="resolved_value-instance_method">
  
    - (<tt>String</tt>) <strong>resolved_value</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The value of the property after any interpolated SassScript has been resolved. Only set once <tt><a href="Perform.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Visitors/Perform.html" title="Sass::Tree::Visitors::Perform (class)">Tree::Visitors::Perform</a></tt> has been run.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>String</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


31
32
33</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 31</span>

def resolved_value
  @resolved_value
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="tabs=-instance_method"></span>
      <span id="tabs-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="tabs-instance_method">
  
    - (<tt>Fixnum</tt>) <strong>tabs</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>How deep this property is indented relative to a normal property. This is only greater than 0 in the case that:</p>

<ul>
<li>This node is in a CSS tree</li>

<li>The style is :nested</li>

<li>This is a child property of another property</li>

<li>The parent property has a value, and thus will be rendered</li>
</ul>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Fixnum</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


43
44
45</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 43</span>

def tabs
  @tabs
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="value=-instance_method"></span>
      <span id="value-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="value-instance_method">
  
    - (<tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>) <strong>value</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The value of the property.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


24
25
26</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 24</span>

def value
  @value
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="instance_method_details" class="method_details_list">
    <h2>Instance Method Details</h2>
    
    
      <div class="method_details first">
  <p class="signature first" id="==-instance_method">
  
    - (<tt>Boolean</tt>) <strong>==</strong>(other) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Compares the names and values of two properties.</p>

  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='type'>(<tt>Object</tt>)</span>
      
      
        <span class='name'>other</span>
      
      
      
        &mdash;
        The object to compare with
      
    </li>
  
</ul>
<h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
      
      
        &mdash;
        Whether or not this node and the other object are the same
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


63
64
65</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 63</span>

def ==(other)
  self.class == other.class && name == other.name && value == other.value && super
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="declaration-instance_method">
  
    - <strong>declaration</strong>(opts = {:old =&gt; @prop_syntax == :old}, fmt = :sass) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Computes the Sass or SCSS code for the variable declaration. This is like <tt><a href="Node.html#to_scss-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_scss-instance_method" title="Sass::Tree::Node#to_scss (method)">#to_scss</a></tt> or <tt><a href="Node.html#to_sass-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_sass-instance_method" title="Sass::Tree::Node#to_sass (method)">#to_sass</a></tt>, except it doesn&#8217;t print any child properties or a trailing semicolon.</p>

  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='type'>(<tt>{Symbol =&gt; Object}</tt>)</span>
      
      
        <span class='name'>opts</span>
      
      
        <em class="default">(defaults to: <tt>{:old =&gt; @prop_syntax == :old}</tt>)</em>
      
      
        &mdash;
        The options hash for the tree.
      
    </li>
  
    <li>
      
        <span class='type'>(<tt>Symbol</tt>)</span>
      
      
        <span class='name'>fmt</span>
      
      
        <em class="default">(defaults to: <tt>:sass</tt>)</em>
      
      
        &mdash;
        <code>:scss</code> or <code>:sass</code>.
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


83
84
85
86
87
88
89
90
91
92
93</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 83</span>

def declaration(opts = {:old => @prop_syntax == :old}, fmt = :sass)
  name = self.name.map {|n| n.is_a?(String) ? n : "\#{#{n.to_sass(opts)}}"}.join
  if name[0] == ?:
    raise Sass::SyntaxError.new("The \"#{name}: #{self.class.val_to_sass(value, opts)}\" hack is not allowed in the Sass indented syntax")
  end

  old = opts[:old] && fmt == :sass
  initial = old ? ':' : ''
  mid = old ? '' : ':'
  "#{initial}#{name}#{mid} #{self.class.val_to_sass(value, opts)}".rstrip
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="invisible?-instance_method">
  
    - (<tt>Boolean</tt>) <strong>invisible?</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>A property node is invisible if its value is empty.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


98
99
100</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 98</span>

def invisible?
  resolved_value.empty?
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="pseudo_class_selector_message-instance_method">
  
    - (<tt>String</tt>) <strong>pseudo_class_selector_message</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Returns a appropriate message indicating how to escape pseudo-class selectors. This only applies for old-style properties with no value, so returns the empty string if this is new-style.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>String</tt>)</span>
      
      
      
      
        &mdash;
        The message
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


72
73
74
75</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/prop_node.rb', line 72</span>

def pseudo_class_selector_message
  return "" if @prop_syntax == :new || !value.is_a?(Sass::Script::String) || !value.value.empty?
  "\nIf #{declaration.dump} should be a selector, use \"\\#{declaration}\" instead."
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>
    
    <div id="footer">
  Generated on Fri Mar  8 20:33:51 2013 by 
  <a href="javascript:if(confirm(%27http://yardoc.org/  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://yardoc.org/%27" tppabs="http://yardoc.org/" title="Yay! A Ruby Documentation Tool">yard</a>
  0.5.3 (ruby-1.8.7).
</div>


  <script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
  try {
  var pageTracker = _gat._getTracker("UA-535380-8");
  pageTracker._trackPageview();
  } catch(err) {}</script>


  </body>
</html>